package com.yunfei.apiProductKu.bo;
import com.yunfei.utils.string.StringUtil;
import io.swagger.annotations.ApiModelProperty;

/**
 * @description: 产品库-产品详情-收益级别
 * @author: zhengyunfei
 * @create: 2019-04-08 15:02
 **/
public class ShouYiJiBieBo implements java.io.Serializable {
    @ApiModelProperty(value = "产品id")
    private String cfundCode;
    @ApiModelProperty(value = "受益级别")
    private String cProfitClass;
    @ApiModelProperty(value = "收益率")
    private String fProfit;
    @ApiModelProperty(value = "最小")
    private String fAmountMin;
    @ApiModelProperty(value = "最大")
    private String fAmountMax;

    public String getCfundCode() {
        return cfundCode;
    }

    public void setCfundCode(String cfundCode) {
        this.cfundCode = cfundCode;
    }

    public String getcProfitClass() {
        return cProfitClass;
    }

    public void setcProfitClass(String cProfitClass) {
        this.cProfitClass = cProfitClass;
    }

    public String getfProfit() {
        if(!StringUtil.isNullOrEmpty(fProfit)&&fProfit.startsWith(".")){
            fProfit="0"+fProfit;
        }
        return fProfit;
    }

    public void setfProfit(String fProfit) {
        this.fProfit = fProfit;
    }

    public String getfAmountMin() {
        return fAmountMin;
    }

    public void setfAmountMin(String fAmountMin) {
        this.fAmountMin = fAmountMin;
    }

    public String getfAmountMax() {
        return fAmountMax;
    }

    public void setfAmountMax(String fAmountMax) {
        this.fAmountMax = fAmountMax;
    }
}
